package com.example.wlzz.repository.mongoRepository;

import com.example.wlzz.entity.sayLove.LoveSubreview;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface LoveSubreviewRepository  extends MongoRepository<LoveSubreview,String> {
    Page<LoveSubreview> findByCommentIdAndDelFlag(String commentId, int del_flag, Pageable pageable);
    LoveSubreview findBy_idAndDelFlag(String _id,int del_flag);
}
